package com.pojo;

import java.io.Serializable;

public class Login implements Serializable{
	private String username;
	private String password;
	private String sex;
	private String hobby;
	private String eamilnum;
	private String birthday;
	private String phone;
	private int age;

	public String getEamilnum() {
		return eamilnum;
	}

	public void setEamilnum(String eamilnum) {
		this.eamilnum = eamilnum;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public Login(){

	}

	public Login(String eamilnum, String birthday, int age, String phone){
		super();
		this.eamilnum = eamilnum;
		this.birthday = birthday;
		this.phone = phone;
		this.age = age;
	}

	public Login(String username, String password, String sex, String hobby){
		super();
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.hobby = hobby;
	}
	
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUsername() {
		return username;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return password;
	}

	public void setHobbys(String hobbys) {
		this.hobby = hobbys;
	}

	public String getHobbys() {
		return hobby;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSex() {
		return sex;
	}
	
}
